package com.zjw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjw.annotation.domain.ResponseResult;
import com.zjw.annotation.domain.entity.Link;

import java.util.List;

/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2023-12-13 16:22:13
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult getLinkList(Long pageNum, Long pageSize, String name, String status);

    ResponseResult addLink(Link link);

    ResponseResult getLinkById(Long id);

    ResponseResult editLink(Link link);

    ResponseResult deleteLink(List<Long> idList);

    ResponseResult audit(Long id, String status);
}

